<html {$html_attrs}>
<head><title>{$caption proforma_invoices}</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#center_block{$id} {width:auto;margin:0 auto;min-width:500px;}
#contents_block{$id} {text-align:center;width:100%}
#header_block{$id} {width:100%;white-space:nowrap;height:31px;padding-top:5px;}
#main_block{$id} {padding:10px 0;width:100%}
#inmain_block{$id} {margin:0 10px}
#fields_block{$id} {width:100%;mrgin-top:10px;}
#fields_block{$id} td.es{padding:4px 0 4px 10px;}
#buttons_block{$id} {width:100%;padding-bottom:5px}
#required_block{$id} {text-align:left;padding:5px}
#buttons_block{$id} > * {margin:0 2px}
#span{$id} {margin:0 20px 0 20px;}
</style>
<!--[if IE]>
<style>
#main_block {padding:10px 10;}
#fields_block{$id} {width:auto;}
#inmain_block {margin:0 0px}
</style>
<![endif]-->
{END style_block}
</head>
<body {$bodyattrs}>
{BEGIN body}
{$header}
{BEGIN flybody}
<table align=center id="center_block{$id}"><tr><td id="contents_block{$id}">
<b class="xtop"><b class="rb1 rb1_top"></b><b class="rb2 rb2_top"></b><b class="rb3 rb3_top"></b><b class="rb4 rb4_top"></b></b>
<div id="header_block{$id}" class="top">
{$caption proforma_invoices}, {mlang_message EDIT_RECORD} [
{$label proforma_invoices id}: {$show_key1}
]
</div>
<div id="main_block{$id}" class="xboxcontentb" >
<div id="inmain_block{$id}" class="xboxcontentb" >
{BEGIN message_block}
<div id="message_block{$id}" class="downedit">{$message}</div>
{END message_block}

<table cellpadding="4" cellspacing="0" border="0" id="fields_block{$id}">
{BEGIN account_id_fieldblock}
	<tr>
		<td width="150" class="es editshadeleft_b">{BEGIN account_id_label}{$label proforma_invoices account_id}{END account_id_label}</td>
		<td width="245" class="es editshademiddle_lb">{$account_id_editcontrol}</td>
		<td width="5" class="editshaderight_rb">&nbsp;</td>
	</tr>
{END account_id_fieldblock}
{BEGIN buyer_id_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices buyer_id}</td>
		<td width="245" class="es editshade_lb">{$buyer_id_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END buyer_id_fieldblock}
{BEGIN consignee_id_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices consignee_id}</td>
		<td width="245" class="es editshade_lb">{$consignee_id_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END consignee_id_fieldblock}
{BEGIN notify_id_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices notify_id}</td>
		<td width="245" class="es editshade_lb">{$notify_id_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END notify_id_fieldblock}
{BEGIN proforma_invoice_no_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices proforma_invoice_no}</td>
		<td width="245" class="es editshade_lb">{$proforma_invoice_no_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END proforma_invoice_no_fieldblock}
{BEGIN proforma_invoice_date_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices proforma_invoice_date}</td>
		<td width="245" class="es editshade_lb">{$proforma_invoice_date_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END proforma_invoice_date_fieldblock}
{BEGIN customer_reference_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices customer_reference}</td>
		<td width="245" class="es editshade_lb">{$customer_reference_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END customer_reference_fieldblock}
{BEGIN customer_reference_date_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices customer_reference_date}</td>
		<td width="245" class="es editshade_lb">{$customer_reference_date_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END customer_reference_date_fieldblock}
{BEGIN commercial_invoice_no_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices commercial_invoice_no}</td>
		<td width="245" class="es editshade_lb">{$commercial_invoice_no_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END commercial_invoice_no_fieldblock}
{BEGIN commercial_invoice_date_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices commercial_invoice_date}</td>
		<td width="245" class="es editshade_lb">{$commercial_invoice_date_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END commercial_invoice_date_fieldblock}
{BEGIN term_of_sale1_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices term_of_sale1}</td>
		<td width="245" class="es editshade_lb">{$term_of_sale1_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END term_of_sale1_fieldblock}
{BEGIN term_of_sale2_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices term_of_sale2}</td>
		<td width="245" class="es editshade_lb">{$term_of_sale2_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END term_of_sale2_fieldblock}
{BEGIN shipment_mode_id_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices shipment_mode_id}</td>
		<td width="245" class="es editshade_lb">{$shipment_mode_id_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END shipment_mode_id_fieldblock}
{BEGIN estimated_shipment_date_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices estimated_shipment_date}</td>
		<td width="245" class="es editshade_lb">{$estimated_shipment_date_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END estimated_shipment_date_fieldblock}
{BEGIN estimated_shipment_date_custom_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices estimated_shipment_date_custom}</td>
		<td width="245" class="es editshade_lb">{$estimated_shipment_date_custom_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END estimated_shipment_date_custom_fieldblock}
{BEGIN additional_charges_frieght_type_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices additional_charges_frieght_type}</td>
		<td width="245" class="es editshade_lb">{$additional_charges_frieght_type_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END additional_charges_frieght_type_fieldblock}
{BEGIN additional_charges_legalization_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices additional_charges_legalization}</td>
		<td width="245" class="es editshade_lb">{$additional_charges_legalization_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END additional_charges_legalization_fieldblock}
{BEGIN additional_charges_inspection_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices additional_charges_inspection}</td>
		<td width="245" class="es editshade_lb">{$additional_charges_inspection_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END additional_charges_inspection_fieldblock}
{BEGIN additional_charges_special_packing_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices additional_charges_special_packing}</td>
		<td width="245" class="es editshade_lb">{$additional_charges_special_packing_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END additional_charges_special_packing_fieldblock}
{BEGIN others1_key_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices others1_key}</td>
		<td width="245" class="es editshade_lb">{$others1_key_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END others1_key_fieldblock}
{BEGIN others2_key_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices others2_key}</td>
		<td width="245" class="es editshade_lb">{$others2_key_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END others2_key_fieldblock}
{BEGIN others3_key_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices others3_key}</td>
		<td width="245" class="es editshade_lb">{$others3_key_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END others3_key_fieldblock}
{BEGIN others1_value_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices others1_value}</td>
		<td width="245" class="es editshade_lb">{$others1_value_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END others1_value_fieldblock}
{BEGIN others2_value_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices others2_value}</td>
		<td width="245" class="es editshade_lb">{$others2_value_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END others2_value_fieldblock}
{BEGIN others3_value_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices others3_value}</td>
		<td width="245" class="es editshade_lb">{$others3_value_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END others3_value_fieldblock}
{BEGIN payment_term_id_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices payment_term_id}</td>
		<td width="245" class="es editshade_lb">{$payment_term_id_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END payment_term_id_fieldblock}
{BEGIN payment_term_other_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices payment_term_other}</td>
		<td width="245" class="es editshade_lb">{$payment_term_other_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END payment_term_other_fieldblock}
{BEGIN bank_name_id_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices bank_name_id}</td>
		<td width="245" class="es editshade_lb">{$bank_name_id_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END bank_name_id_fieldblock}
{BEGIN bank_term1_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices bank_term1}</td>
		<td width="245" class="es editshade_lb">{$bank_term1_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END bank_term1_fieldblock}
{BEGIN bank_term2_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices bank_term2}</td>
		<td width="245" class="es editshade_lb">{$bank_term2_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END bank_term2_fieldblock}
{BEGIN currency_id_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices currency_id}</td>
		<td width="245" class="es editshade_lb">{$currency_id_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END currency_id_fieldblock}
{BEGIN terms_and_conditions_fieldblock}
	<tr>
		<td width="150"class="es editshade_b">{$label proforma_invoices terms_and_conditions}</td>
		<td width="245" class="es editshade_lb">{$terms_and_conditions_editcontrol}&nbsp;</td>
		<td class="editshade_cb">&nbsp;</td>
	</tr>
{END terms_and_conditions_fieldblock}
</table>

<div class="downedit2" id="buttons_block{$id}">
{BEGIN legend}
 <div id="required_block{$id}" ><img alt="bullet" src="images/icon_required.gif"> - {mlang_message REQUIRED_FIELD}</div>
 {END legend}
 {$legendBreak}
{BEGIN save_button}
 <span class=buttonborder><input class=button type=submit value="{mlang_message SAVE}" {$savebutton_attrs}></span>
{END save_button} 
{BEGIN reset_button}
 <span class=buttonborder><input class=button type=reset value="{mlang_message RESET}" {$resetbutton_attrs}></span>
{END reset_button}
<span id="span{$id}">&nbsp;</span>
{BEGIN prev_button}
 <span class=buttonborder><input class=button type=reset value=" <<< " {$prevbutton_attrs}></span>
{END prev_button}
{BEGIN back_button}
 <span class=buttonborder><input class=button type=button value="{mlang_message BACK_TO_LIST}" {$backbutton_attrs}></span>
{END back_button}
{BEGIN next_button}
 <span class=buttonborder><input class=button type=reset value=" >>> " {$nextbutton_attrs}></span>
{END next_button}
</div>
<b class="xbottom"><b class="xb4a"></b><b class="xb3a"></b><b class="xb2a"></b><b class="xb1a"></b></b>
</div>
</div>
<b class="xbottom"><b class="xb4b4"></b><b class="xb3b4"></b><b class="xb2b4"></b><b class="xb1b4"></b></b>
</td></tr></table>
{END flybody}

{BEGIN detail_tables}
{$displayDetailTable_proforma_invoice_items}
{END detail_tables}
<br><br>
{$footer}
{END body}
</body>
</html>
